" 详细的while循环测试 - 验证条件重新计算
let i = 0
let count = 0

while i < 3
    echo "Loop iteration: " . count . " i = " . i
    let i = i + 1
    let count = count + 1
endwhile

echo "Final count: " . count
echo "Final i: " . i
echo "Test completed successfully"